package annotation.getters;

import org.openqa.selenium.WebElement;
import annotation.Args;
import annotation.IPropertityGetter;

public class ElementExistPropertityGetter implements IPropertityGetter<Boolean, WebElement> {
    @Override
    public Boolean getPropertity(WebElement webElement, Object pageObject, Args addtionArgs) {
        return webElement!=null;
    }
}
